﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace BRMC.IntelligentCommunity.Migrations
{
    public partial class add_other_base6 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_work_evaluate_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_praise",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_pict",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_log",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_list",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_comments_pict",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_comments_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_evaluate_pict",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_user_evaluate_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_repairs_work_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_repairs_equipment_class",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_mt_inout_details",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_material_tool_inout_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_material_tool_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Wy_facility_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Work_wechat_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Work_evaluate_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Vote_users",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Vote_user_log",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Vote_items",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Vote",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_wechat_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_sys_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_pay_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_idcard_pict_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_house_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_excel_import_tmp",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_broadband_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "Isdel",
            //    table: "User_base_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_base_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "User_apply_reside_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_verification_code",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_site_dict_index",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_site_dict",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_notice",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_neighbourhood_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_information",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_house_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_house_chart",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_data_set",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Sys_banner",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "product_info",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Evaluate_index",
            //    nullable: true);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_log",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_install_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_service_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_log",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_install_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_log",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_pict",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_product",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_log",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_install_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_buy_flow",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_user_agent_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_staff_work_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_service_time_log",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_repairs_time_log",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_price_package",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_by_agenter_info",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "Bb_buy_time_log",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "App_user_dep_role",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "App_user",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "App_rule",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "App_role_rule",
            //    nullable: false,
            //    defaultValue: 0);

            //migrationBuilder.AddColumn<int>(
            //    name: "TenantId",
            //    table: "App_role",
            //    nullable: false,
            //    defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_work_evaluate_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_praise");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_pict");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_list");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_comments_pict");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_repairs_comments_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_evaluate_pict");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_user_evaluate_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_repairs_work_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_repairs_equipment_class");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_mt_inout_details");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_material_tool_inout_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_material_tool_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Wy_facility_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Work_wechat_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Work_evaluate_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Vote_users");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Vote_user_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Vote_items");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Vote");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_wechat_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_sys_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_pay_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_idcard_pict_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_house_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_excel_import_tmp");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_broadband_info");

            //migrationBuilder.DropColumn(
            //    name: "Isdel",
            //    table: "User_base_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_base_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "User_apply_reside_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_verification_code");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_site_dict_index");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_site_dict");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_notice");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_neighbourhood_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_information");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_house_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_house_chart");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_data_set");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Sys_banner");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "product_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Evaluate_index");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_service_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_service_install_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_service_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_install_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_repairs_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_renewal_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_pict");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_evaluate_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_buy_product");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_buy_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_buy_install_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_buy_flow");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_user_agent_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_staff_work_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_service_time_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_repairs_time_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_price_package");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_by_agenter_info");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "Bb_buy_time_log");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "App_user_dep_role");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "App_user");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "App_rule");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "App_role_rule");

            //migrationBuilder.DropColumn(
            //    name: "TenantId",
            //    table: "App_role");
        }
    }
}
